Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ogre: migrate to Conan v2, bump to latest version #21073

Open
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Nov 11, 2023

Ogre switched to semver when transitioning from v1.12 to v13.x: https://www.ogre3d.org/2021/08/14/ogre-13-released

@conan-center-bot conan-center-bot added Failed Missing dependencies Build failed due missing dependencies in Conan Center labels Nov 11, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@valgur valgur marked this pull request as ready for review November 12, 2023 13:00
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@AbrilRBS AbrilRBS self-assigned this Nov 15, 2023
@conan-center-bot conan-center-bot removed the Missing dependencies Build failed due missing dependencies in Conan Center label Nov 22, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@uilianries uilianries added the Missing dependencies Build failed due missing dependencies in Conan Center label Dec 7, 2023
@conan-center-bot conan-center-bot added Version conflict There is a version conflict when solving the dependencies graph and removed Missing dependencies Build failed due missing dependencies in Conan Center labels Mar 23, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@valgur valgur changed the title ogre: migrate to Conan v2 ogre: migrate to Conan v2, bump to latest version Apr 20, 2024
@conan-center-bot conan-center-bot removed the Version conflict There is a version conflict when solving the dependencies graph label Apr 20, 2024
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Warning

Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement.

Failure in build 19 (15ec300387f284a9d423e91a89cbcde1c571ad41):

  • ogre/14.3.0:
    CI failed to create some packages (All logs)

    Logs for packageID fcbc923a35f37dca3d941910bd4a02f2c666d49a:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=9
    os=Linux
    [options]
    ogre:shared=True
    
    [...]
          |         ^~~~~~~
    In file included from /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/src/Components/MeshLodGenerator/include/OgreMeshLodGenerator.h:34,
                     from /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/src/Components/MeshLodGenerator/src/OgreMeshLodPrecompiledHeaders.h:41,
                     from /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/src/Components/MeshLodGenerator/src/OgreLodInputProviderMesh.cpp:29:
    /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/src/Components/MeshLodGenerator/include/OgreLodData.h: In member function ‘virtual void Ogre::LodInputProviderMesh::addVertexData(Ogre::LodData*, size_t)’:
    /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/src/Components/MeshLodGenerator/include/OgreLodData.h:104:12: warning: ‘<anonymous>.Ogre::LodData::Vertex::position’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      104 |     struct Vertex {
          |            ^~~~~~
    /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/src/Components/MeshLodGenerator/include/OgreLodData.h:104:12: warning: ‘<anonymous>.Ogre::LodData::Vertex::normal’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    rc1.0_grammar.y: In function ‘int rc10_parse()’:
    rc1.0_grammar.y:104:28: warning: ‘*((void*)& combinersStruct +28)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    rc1.0_grammar.y:104:28: warning: ‘*((void*)& combinersStruct +92)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    rc1.0_grammar.y:112:28: warning: ‘*((void*)& combinersStruct +28)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    rc1.0_grammar.y:112:28: warning: ‘*((void*)& combinersStruct +92)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    rc1.0_grammar.y:120:28: warning: ‘*((void*)& combinersStruct +28)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    rc1.0_grammar.y:120:28: warning: ‘*((void*)& combinersStruct +92)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/src/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp: In member function ‘virtual void Ogre::GL3PlusRenderSystem::_setCullingMode(Ogre::CullingMode)’:
    /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/src/RenderSystems/GL3Plus/src/OgreGL3PlusRenderSystem.cpp:840:40: warning: ‘cullMode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      840 |         mStateCacheManager->setCullFace( cullMode );
          |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
    /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/src/RenderSystems/GL/src/OgreGLRenderSystem.cpp: In member function ‘virtual void Ogre::GLRenderSystem::_setCullingMode(Ogre::CullingMode)’:
    /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/src/RenderSystems/GL/src/OgreGLRenderSystem.cpp:1727:40: warning: ‘cullMode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     1727 |         mStateCacheManager->setCullFace( cullMode );
          |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
    /usr/bin/ld: cannot find -lpugixml
    collect2: error: ld returned 1 exit status
    make[2]: *** [src/PlugIns/DotScene/CMakeFiles/Plugin_DotScene.dir/build.make:109: src/lib/Plugin_DotScene.so.14.3] Error 1
    make[1]: *** [CMakeFiles/Makefile2:1040: src/PlugIns/DotScene/CMakeFiles/Plugin_DotScene.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [Makefile:171: all] Error 2
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: zziplib/0.13.72: requirement zlib/[>=1.2.11 <2] overridden by ogre/14.3.0 to zlib/1.3.1 
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by pulseaudio/14.2 to zlib/1.3.1 
    WARN: libxml2/2.13.4: requirement zlib/[>=1.2.11 <2] overridden by wayland/1.22.0 to zlib/1.3.1 
    WARN: libunwind/1.8.0: requirement zlib/[>=1.2.11 <2] overridden by sdl/2.30.8 to zlib/1.3.1 
    WARN: freetype/2.13.3: requirement zlib/[>=1.2.10 <2] overridden by ogre/14.3.0 to zlib/1.3.1 
    WARN: libpng/1.6.44: requirement zlib/[>=1.2.11 <2] overridden by freetype/2.13.3 to zlib/1.3.1 
    WARN: assimp/5.4.2: requirement zlib/[>=1.2.11 <2] overridden by ogre/14.3.0 to zlib/1.3.1 
    WARN: minizip/1.2.13: requirement zlib/[>=1.2.11 <2] overridden by assimp/5.4.2 to zlib/1.3.1 
    WARN: openexr/2.5.7: requirement zlib/[>=1.2.11 <2] overridden by ogre/14.3.0 to zlib/1.3.1 
    ogre/14.3.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    ogre/14.3.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    ogre/14.3.0: ERROR: Package 'fcbc923a35f37dca3d941910bd4a02f2c666d49a' build failed
    ogre/14.3.0: WARN: Build folder /home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/build/Release
    ERROR: ogre/14.3.0: Error in build() method, line 491
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/109421/daddb/.conan/data/ogre/14.3.0/_/_/build/fcbc923a35f37dca3d941910bd4a02f2c666d49a/build/Release" '--' '-j3'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 19 (15ec300387f284a9d423e91a89cbcde1c571ad41):

  • ogre/14.3.0:
    Built 3 packages out of 10 (All logs)

@AbrilRBS AbrilRBS removed their assignment Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants